package com.console.front.dao;

import java.util.List;

import org.springframework.stereotype.Component;

import com.console.front.model.MovsModel;
import com.console.front.model.UserModel;

@Component
public interface UserDao {
	
	public UserModel get(Long id);

	public void save(UserModel user);

	public UserModel login(String username, String password);
	
	public void initMovs(MovsModel model);

	public List<MovsModel> findMovs(int pageNum, int pageSize);

	public String findMovsMp4(String movsPath);

	public void updateNewData(MovsModel model);

	public UserModel recharge(String days, String uid);

	public UserModel reg(String username, String password);
	
}
